import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { TableDragTableComponent } from './drag-table/drag-table.component';
import { TableDragTable2Component } from './drag-table2/drag-table2.component';
import { TableTableTreeFormComponent } from './table-tree/form/form.component';
import { TableTableTreeComponent } from './table-tree/table-tree.component';

const routes: Routes = [
  { path: 'table-tree', component: TableTableTreeComponent },
  { path: 'form', component: TableTableTreeFormComponent },
  { path: 'drag-table', component: TableDragTableComponent },
  { path: 'drag-table2', component: TableDragTable2Component },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class TableRoutingModule {}
